
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import wybButton from '@/components/wyb-button/wyb-button.vue' // 引入

Vue.component('wyb-button', wybButton) // 全局注册，即所有.vue页面都可以不用声明直接使用
Vue.config.productionTip = false
const vconsole = require('vconsole')
Vue.prototype.$vconsole = new vconsole() 

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif